package org.Thread;

public class MyThread_Demo4 extends Thread {
    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            System.out.println("我是"+getName());
            Thread.yield();//尽可能的均匀一点
        }
    }
}
